package com.tao.graduation.Pojo;

import lombok.Data;

import java.util.Date;

/**
 * 住院信息
 */

@Data
public class Hospitalization {
    private Integer id;
    private String floor;
    private String bed;
    private String door;
    private String medicalName;
    private Integer patientId;
    private String intTime;
    private String outTime;
    public String state;

    public Hospitalization(Integer id, String floor, String bed, String door, String medicalName, Integer patientId, String intTime, String outTime, String state) {
        this.id = id;
        this.floor = floor;
        this.bed = bed;
        this.door = door;
        this.medicalName = medicalName;
        this.patientId = patientId;
        this.intTime = intTime;
        this.outTime = outTime;
        this.state = state;
    }

    public Hospitalization(String floor, String bed, String door, String medicalName, Integer patientId, String intTime, String outTime,String state) {
        this.floor = floor;
        this.bed = bed;
        this.door = door;
        this.medicalName = medicalName;
        this.patientId = patientId;
        this.intTime = intTime;
        this.outTime = outTime;
        this.state=state;
    }
}
